<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>修改</title>
</head>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<body>
<jsp:useBean id="goodsItem" class="com.model.Goods" scope="request"></jsp:useBean>
<jsp:setProperty property="*" name="goodsItem"/>
<form action="update" method="post">
	<ul>
		<li><input type="text" name="businessId" value="${business.getBusinessId()}" style="display:none"></li>
		<li><input type="text" name="goodsId" value="${goodsList.get(index).getGoodsId()}" style="display:none"></li>
		<li>商品名<input type="text" name="goodsName" value="${goodsList.get(index).getGoodsName()}"></li>
		<li>图片<input type="text" name="goodsImg" value="${goodsList.get(index).getGoodsImg()}"></li>
		<li>价格<input type="text" name="goodsPrice" value="${goodsList.get(index).getGoodsPrice()}"></li>
		<li>种类<input type="text" name="goodsType" value="${goodsList.get(index).getGoodsType()}"></li>
		<li>详情<input type="text" name="desc" value="${goodsList.get(index).getDesc()}"></li>
		<li><input type="submit" value="提交修改" class="button"></li>
	</ul>
</form>
</body>
</html>